package com.mycinema.dao;

import java.util.List;

import com.mycinema.entity.Category;



public interface CategoryDao {
	Category fetchById(int id);
	Category fetchByName(String name);
	List<Category> getAll();
	void add(Category category);
	void update(Category category);
	void delete(int id);
	boolean checkCategoryIsInUse(int cid);
}
